import moment from "moment"

export function formatDateTime(date: string) {
    if (!date) return ''
    return moment(date).format("YYYY-MM-DD HH:mm:ss")
}